package org.simplextensions.registry.phaselisteners;

import org.simplextensions.annotations.AnnotationInfo;
import org.simplextensions.registry.IExtensionRegistry;

import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

public interface IDependencyLocator {

	String EP_ID = "DependencyLocatorRegistry";

	String ANNOTATION = "annotation";

	void init(IExtensionRegistry extensionRegistry);

	Object getAnnotatedFieldValue(Field field, AnnotationInfo annotationInfo);

	Class<? extends Annotation>[] getSupportedAnnotations();

}
